home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 2
/
Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso
/
Aminet
/
util
/
dir
/
megad31b.lha
/
rexx
/
MarkDemo.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1993-06-30
|
1KB
|
51 lines
/* Mark Demo
This file demonstrates the uses of
Mark, Dest, Lock, Child, Parent,
SelectItem and UnSelectItem.
Outside of this, this program is pretty much useless
*/
options results
ADDRESS MEGAD
dbug TRUE
/* open window to the Ram Disk: and Mark it */
Mark 'ram:'
/* display actual name of opened directory */
SAY result
/* save name for later */
rootname = result
/* User select the Marked directory's 'Dest'ination gadget */
Dest TRUE
/* Select the Marked directory's 'Lock' gadget */
Lock TRUE
/* move to the subdirectory */
child t
/* display actual name */
say result
/* save name for later */
childname = result
/* Mark the child directory */
mark "'"result"'"
/* User select the Marked directory's 'Dest'ination gadget */
Dest TRUE
/* Select the Marked directory's 'Lock' gadget */
Lock TRUE
/* Move to the parent directory */
parent
/* display actual name */
say result
/* Mark the Parent directory */
mark "'"result"'"
/* Flash the T directory 40 times */
DO 40
SelectItem t
UnSelectItem t
END
mark "'"childname"'"
/* close the child */
CloseMark
mark "'"rootname"'"
/* close the parent */
CloseMark